import java.util.Scanner;

public class One {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        while (in.hasNext()){
            char[] s1=in.next().toCharArray();
            char[] s2=in.next().toCharArray();
            int[] hash=new int[26];
            for (int i = 0; i < s1.length; i++) {
                hash[s1[i]-'A']++;
            }
            boolean ret=true;
            for (int i = 0; i < s2.length; i++) {
                if(--hash[s2[i]-'A']<0){
                    ret=false;
                    break;
                }
            }
            System.out.println(ret?"yes":"no");
        }
    }
}
